package com.cloud.alibaba;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "alibaba-provider", fallback = FallBack.class)
public interface ProviderService {
    @GetMapping(value = "/index")
    String index(@RequestParam String name);

}
